package top.hzy520.dept.service;

import top.hzy520.dept.entity.Dept;

import java.util.List;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 16:02 2018/7/31
 */
public interface DeptService {
    List<Dept> selectDeptList();

    Dept selectDeptById(Long deptId);

    boolean checkDeptNameUnique(Dept dept);

    void editDeptPost(Dept dept);

    void addDeptPost(Dept dept);

    void removeDeptPost(Long deptId);
}
